<template>
    <div class="w-full h-full">
        <!-- <h-load-mask :show="loading"> -->
        <iframe src="https://element-plus.org" width="100%" height="100%" @load="onIframeLoad"
            allow="accelerometer; gyroscope"></iframe>
        <!-- </h-load-mask> -->
    </div>
</template>
<!-- allow：添加权限 -->

<script lang="ts" setup>
import { ref } from 'vue';
const loading = ref<boolean>(true);
const onIframeLoad = () => {
    loading.value = false;
};
</script>
<style scoped></style>
